<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="./css/cp.css" rel="stylesheet" type="text/css">

<script type="text/JavaScript" src="js/prototype.js"></script>
<script type="text/JavaScript">
<!--
function checkForm(f) {
	var username = $("username").value;
	var password = $("password").value;
	if(username == ""){
		alert("请输入帐号名！");
		$("username").focus();
		return false;
	}
	if(password == ""){
		alert("请输入密码！");
		$("password").focus();
		return false;
	}
}

Event.observe(window, "load", function(){
	Field.focus("username");
});

//-->
</script>
<title>{title}</title>
</head>
<body bgcolor="#EEEEEE">
<div class="main">
	<form name="form" id="form" method="post" action="" onSubmit="return checkForm(this)">
		<table border="0" align="center" cellpadding="4" cellspacing="1">
			<tr align="center">
				<td colspan="2"><strong><font class="largefont">用户登陆入口</font></strong></td>
			</tr>
			<tr>
				<td nowrap>您的帐号：</td>
				<td><input name="username" type="text" id="username" size="30" maxlength="30"></td>
			</tr>
			<tr>
				<td nowrap>登陆密码：</td>
				<td><input name="password" type="password" id="password" size="30" maxlength="30"></td>
			</tr>
			<tr align="center">
				<td colspan="2"><input type="submit" name="Submit" value="  登录  ">
					<input name="reset" type="reset" value="  重置  ">
					<input name="action" type="hidden" id="action" value="login">
					<input name="url" type="hidden" value="{url}">
				</td>
			</tr>
		</table>
	</form>
</div>
</body>
</html>
